package com.softa.web.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by yangl on 2018/5/16.
 */
@Controller
public class IndexController {

//    @RequestMapping("/login")
//    public String login(){
//        return "login";
//    }

    @GetMapping("/index")
    public String index(){
        return "page/index";
    }

    @GetMapping("/main")
    public String main(){
        return "page/main/main";
    }

}
